//
//  CoreDataManager.h
//  Lesson_5_记事本
//
//  Created by 大展 on 16/5/31.
//  Copyright © 2016年 Mario. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CoreDataManager : NSObject

// 单例
+ (instancetype)defaultManager;
// 查询整个阅读收藏
- (NSArray *)selectAllCollectionModel;
// 查看有没有已经存在的阅读收藏列表
- (BOOL)isContainsReadWithReadID:(NSNumber *)readID;
// 根据readID去删除一个收藏
- (void)deleteCollectionWithReadID:(NSNumber *)readID;
//插入
- (void)insertCollectionModelWithReadModel:(ReadListModel *)Readmodel;
//插入
- (void)insertCollectionModelWithReadModel:(ReadListModel *)Readmodel html:(NSString *)html;
@end
